#define __DEBUG_PRINTF__
#define __CDEBUG_PRINTF__
#include <stdio.h>
#include "debug.h"

void fun1();
void fun2(const char * buf);

int main(void)
{
    DEBUG("debug text 1");
    CDEBUG(1, "You could see this line");
    CDEBUG(0, "You could'not see this line");
    fun1();
    fun2("fun2");
    return 0;
}

void fun1()
{
    DEBUG_RED("Debug Red");
    return;
}
void fun2(const char *buf)
{
    DEBUG_FLG("Debug with file name and line in green: %s", buf);
    return;
}
